<!--
 * @Author: 卡卡 1071780426@qq.com
 * @Date: 2023-09-12 13:43:30
 * @LastEditors: 贺楠 1071780426@qq.com
 * @LastEditTime: 2024-05-22 16:15:07
 * @FilePath: \mould\src\views\QualityGridManage\BehaViorManage\quality-G-R-Manage\onlineRecordWork\index.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
  <div class="page_detail" id="page_detail">
    <TableLyout >
      
    <!-- <TableLyout :treelength="treelength">
      <template v-slot:treebox>
        <div class="structureTree_title">
          <div>组织机构</div>
        </div>
        <tree
          :treeData="treeData"
          :checkData="checkData"
          nodeKey="fCompanyid"
          @getTreeInfo="handleNodeClick"
          :defaultProps="defaultProps"
        >
        </tree>
      </template> -->
      <!-- <template v-slot:breadcrumb>
        <div>
          <el-breadcrumb :title="showName"></el-breadcrumb>
        </div>
      </template> -->

      <template v-slot:serchbox>
        <!-- <publicForm
          ref="publicForm"
          @yj_searchForm="yj_searchForm"
          lableWidth="110px"
          :formObj="searchObj"
          :formData="getList"
        >
        </publicForm> -->
        <el-radio-group
          v-model="radio"
          size="small"
          @change="modelType($event)"
        >
          <el-radio-button label="待办"></el-radio-button>
          <el-radio-button label="已办"></el-radio-button>
        </el-radio-group>
      </template>
      <template v-slot:btnbox v-if="getList.modelType==0">
        <el-button
          :disabled="item.disabled"
          type="primary"
          v-for="(item, index) in btnObj"
          :key="index"
          @click="getBtnName(item.fEncode, item.fOrder)"
          >{{ item.fFullname }}</el-button
        >
      </template>
      <template v-slot:tabcom>
        <div class="tableInfo">
          <tableData
           
           
            height="100%"
            :config="table_config"
            :dataList="tableData"
            :loading="loading"
            @click-change="rowChange"
     
            
            @ClickOnLine="yj_viewForm"
          />
        </div>
      </template>
    </TableLyout>
    <custom-dialog
      @refreshList="refreshList"
      :currentRow="currentRow"
      :statusNum="statusNum"
      v-if="isShow"
      :dialogVisible="isShow"
      dialogTitle="拌合设备检定管理"
      @close="closeDialog"
      :fCompanyid="getList.fCompanyid"
      :fCompanyname="userInfo.projectId"
    ></custom-dialog>
    <custom-dialogs
      @refreshList="refreshList"
      :currentRow="currentRow"
      :statusNum="statusNum"
      v-if="sgisShow"
      :dialogVisible="sgisShow"
      :isclose="false"
      @close="sgcloseDialog"
      :fCompanyid="getList.fCompanyid"
      :fCompanyname="userInfo.projectId"
    ></custom-dialogs>
  </div>
</template>
<script src="./index.js"></script>
<style scoped lang="less">
@import "./index.less";
</style>
